package a.f.h.a.b;

import a.a.hb;
import a.c.ab;
import a.c.d;
import a.c.m;
import a.c.q;
import a.f.h.a.a.e;
import a.f.h.a.a.i;
import a.f.h.a.a.n;

public class f
{
  private q a;
  private a.f.h.a.a.b c;
  private c e;
  private ab f;
  private ab g;
  public static boolean h;
  
  public f(q paramq, a.f.h.a.a.b paramb)
  {
    this.a = paramq;
    this.c = paramb;
    this.e = new c(this.a, this.c);
    this.f = new ab();
    this.g = new ab();
  }
  
  public void a()
  {
    this.e.d();
  }
  
  public ab b()
  {
    return this.g;
  }
  
  public ab c()
  {
    return this.f;
  }
  
  public static ab a(q paramq, a.f.h.a.a.b paramb)
  {
    f localf = new f(paramq, paramb);
    localf.d();
    localf.a();
    return localf.b();
  }
  
  public void d()
  {
    boolean bool = b.i;
    int i = b.h;
    this.f.clear();
    this.g.clear();
    this.g.a(this.a.w());
    this.e.i();
    this.e.e();
    e();
    m localm = this.f.l();
    localm.i();
    do
    {
      if (!localm.e()) {
        break;
      }
      d locald1 = localm.a();
      d locald2 = this.e.a(locald1);
      if (i != 0) {
        return;
      }
      if (locald2 != null)
      {
        this.f.b(locald2);
        this.f.remove(locald1);
      }
      localm.g();
    } while (i == 0);
    this.g.removeAll(this.f);
    if (!bool) {
      this.e.j();
    }
  }
  
  private void e()
  {
    this.e.g();
    n.a(new b_(null), this.e);
    this.e.h();
  }
  
  private class b_
    implements i
  {
    a a;
    ab b;
    
    private b_() {}
    
    public void a(e parame)
    {
      this.a = ((a)parame);
      if (!b.i)
      {
        if (this.a.f()) {
          return;
        }
        this.a.c(f.this.a);
        this.b = hb.a(f.this.a);
        f.this.f.a(this.b.l());
      }
      this.a.a(f.this.a);
    }
    
    b_(f.0 param0)
    {
      this();
    }
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.h.a.b.f
 * JD-Core Version:    0.7.0.1
 */